<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.ComboBoxEx类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_combo_box_ex.html">ComboBoxEx</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_combo_box_ex-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.ComboBoxEx类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.ComboBoxEx 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_combo_box_ex.png" usemap="#awtk.ComboBoxEx_map" alt=""/>
  <map id="awtk.ComboBoxEx_map" name="awtk.ComboBoxEx_map">
<area href="classawtk_1_1_combo_box.html" alt="awtk.ComboBox" shape="rect" coords="0,56,115,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a35f0ae2634389a2936a94453dbdfe236"><td class="memItemLeft" align="right" valign="top"><a id="a35f0ae2634389a2936a94453dbdfe236"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ComboBoxEx</b> (long nativeObj)</td></tr>
<tr class="separator:a35f0ae2634389a2936a94453dbdfe236"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classawtk_1_1_combo_box"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classawtk_1_1_combo_box')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="classawtk_1_1_combo_box.html">awtk.ComboBox</a></td></tr>
<tr class="memitem:a5fae7c78e1a41f2a9bc8e405d4742d3d inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a id="a5fae7c78e1a41f2a9bc8e405d4742d3d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>ComboBox</b> (long nativeObj)</td></tr>
<tr class="separator:a5fae7c78e1a41f2a9bc8e405d4742d3d inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a185bd6bd6c2ea5b1f4fd9e8fa32d2fec inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a185bd6bd6c2ea5b1f4fd9e8fa32d2fec">setOpenWindow</a> (String open_window)</td></tr>
<tr class="separator:a185bd6bd6c2ea5b1f4fd9e8fa32d2fec inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6e833c311ae42611a36470c84b6aaf3 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#ac6e833c311ae42611a36470c84b6aaf3">resetOptions</a> ()</td></tr>
<tr class="separator:ac6e833c311ae42611a36470c84b6aaf3 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa93c04311d4b34e090d2c07a725cf4af inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#aa93c04311d4b34e090d2c07a725cf4af">countOptions</a> ()</td></tr>
<tr class="separator:aa93c04311d4b34e090d2c07a725cf4af inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93450999af1b7722372e0da3d1c5b687 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a93450999af1b7722372e0da3d1c5b687">setSelectedIndex</a> (int index)</td></tr>
<tr class="separator:a93450999af1b7722372e0da3d1c5b687 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8585844ca86c690f6a2fdb7d00f22de7 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a8585844ca86c690f6a2fdb7d00f22de7">setLocalizeOptions</a> (boolean localize_options)</td></tr>
<tr class="separator:a8585844ca86c690f6a2fdb7d00f22de7 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87157329ff781c1a08f2438d485bb063 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a87157329ff781c1a08f2438d485bb063">setValue</a> (int value)</td></tr>
<tr class="separator:a87157329ff781c1a08f2438d485bb063 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42da0eadda777eecd64db2298cdd394c inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a42da0eadda777eecd64db2298cdd394c">setItemHeight</a> (int item_height)</td></tr>
<tr class="separator:a42da0eadda777eecd64db2298cdd394c inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab556f66ffa28cde6e6dfd05116354e6c inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#ab556f66ffa28cde6e6dfd05116354e6c">appendOption</a> (int value, String text)</td></tr>
<tr class="separator:ab556f66ffa28cde6e6dfd05116354e6c inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e82cb6272c1048d42d4407545280b0c inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a6e82cb6272c1048d42d4407545280b0c">setOptions</a> (String options)</td></tr>
<tr class="separator:a6e82cb6272c1048d42d4407545280b0c inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe6274015434ac47344f38c85ac6bd40 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#abe6274015434ac47344f38c85ac6bd40">getValue</a> ()</td></tr>
<tr class="separator:abe6274015434ac47344f38c85ac6bd40 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb3a1722fb521bc220d544cee5169977 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#adb3a1722fb521bc220d544cee5169977">getTextValue</a> ()</td></tr>
<tr class="separator:adb3a1722fb521bc220d544cee5169977 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adda687577724f7604b8408b196e5b7e8 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#adda687577724f7604b8408b196e5b7e8">getOpenWindow</a> ()</td></tr>
<tr class="separator:adda687577724f7604b8408b196e5b7e8 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f689cb05c73b5627a04e46b126e4c29 inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a0f689cb05c73b5627a04e46b126e4c29">getSelectedIndex</a> ()</td></tr>
<tr class="separator:a0f689cb05c73b5627a04e46b126e4c29 inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4161724430b78976eb5fa46b151e3b3d inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a4161724430b78976eb5fa46b151e3b3d">getLocalizeOptions</a> ()</td></tr>
<tr class="separator:a4161724430b78976eb5fa46b151e3b3d inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43384bf1536631b96904a303aa1cf13a inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a43384bf1536631b96904a303aa1cf13a">getOptions</a> ()</td></tr>
<tr class="separator:a43384bf1536631b96904a303aa1cf13a inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addbfadca5b57febae2edf0ed01d928cd inherit pub_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#addbfadca5b57febae2edf0ed01d928cd">getItemHeight</a> ()</td></tr>
<tr class="separator:addbfadca5b57febae2edf0ed01d928cd inherit pub_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a4dedfe7ba88ae022e2d42c4018d9adba"><td class="memItemLeft" align="right" valign="top"><a id="a4dedfe7ba88ae022e2d42c4018d9adba"></a>
static <a class="el" href="classawtk_1_1_combo_box_ex.html">ComboBoxEx</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:a4dedfe7ba88ae022e2d42c4018d9adba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a919e8f481c04681c34cb3fb7ed9d3435"><td class="memItemLeft" align="right" valign="top">static Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box_ex.html#a919e8f481c04681c34cb3fb7ed9d3435">create</a> (Widget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:a919e8f481c04681c34cb3fb7ed9d3435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classawtk_1_1_combo_box"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classawtk_1_1_combo_box')"><img src="closed.png" alt="-"/>&#160;静态 Public 成员函数 继承自 <a class="el" href="classawtk_1_1_combo_box.html">awtk.ComboBox</a></td></tr>
<tr class="memitem:a64ae9aa964fcbadb72d57e619f4d3bc2 inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a id="a64ae9aa964fcbadb72d57e619f4d3bc2"></a>
static <a class="el" href="classawtk_1_1_combo_box.html">ComboBox</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:a64ae9aa964fcbadb72d57e619f4d3bc2 inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2d5e06e09a5b4a3babbba6438688249 inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">static Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#ac2d5e06e09a5b4a3babbba6438688249">create</a> (Widget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:ac2d5e06e09a5b4a3babbba6438688249 inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26b8bdaaf4996ef9301dbbd9fa82882d inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_combo_box.html">ComboBox</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_combo_box.html#a26b8bdaaf4996ef9301dbbd9fa82882d">cast</a> (Widget widget)</td></tr>
<tr class="separator:a26b8bdaaf4996ef9301dbbd9fa82882d inherit pub_static_methods_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a9083c4953760209c2b7a13d9f72a35da"><td class="memItemLeft" align="right" valign="top"><a id="a9083c4953760209c2b7a13d9f72a35da"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:a9083c4953760209c2b7a13d9f72a35da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_attribs_classawtk_1_1_combo_box"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_classawtk_1_1_combo_box')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="classawtk_1_1_combo_box.html">awtk.ComboBox</a></td></tr>
<tr class="memitem:a9402eed805d494ef87e24b822b355abb inherit pub_attribs_classawtk_1_1_combo_box"><td class="memItemLeft" align="right" valign="top"><a id="a9402eed805d494ef87e24b822b355abb"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:a9402eed805d494ef87e24b822b355abb inherit pub_attribs_classawtk_1_1_combo_box"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>可滚动的combo_box控件。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a919e8f481c04681c34cb3fb7ed9d3435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a919e8f481c04681c34cb3fb7ed9d3435">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Widget awtk.ComboBoxEx.create </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建combo_box_ex对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/ComboBoxEx.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
